package com.zlxlsvue.web.controller.tool;

import com.alibaba.fastjson2.JSONObject;
import com.zlxlsvue.common.core.controller.BaseController;
import com.zlxlsvue.common.core.domain.R;
import com.zlxlsvue.common.utils.StringUtils;
import org.springframework.web.bind.annotation.*;

import java.util.*;

/**
 * swagger 用户测试方法
 *
 * @author
 */
//@Api("用户信息管理")
@RestController
@RequestMapping("/dop-actuator")
public class CloudController extends BaseController
{


    //@ApiOperation("获取用户列表")
    @GetMapping("/health")
    public JSONObject userList()
    {
        Map<String,Object> map = new HashMap<>();
        map.put("status", "UP");
        map.put("application", new HashMap<>().put("status", "UP"));
        return R.toJson(map);
    }
}

